using Quartz;

namespace Vin.Extension.Framework.Quartz.ServiceInterface;

public interface IExecuteJobService
{
    Task<bool> ExecuteAsync(IJobExecutionContext context);

    Task<bool> VetoedAsync(IJobExecutionContext context);

    Task<bool> CompleteAsync(IJobExecutionContext context, JobExecutionException? jobException);
}